gsk: Turn texture cache into a hash table
authorEmmanuele Bassi <ebassi@gnome.org>
Tue, 12 Jul 2016 13:59:37 +0000 (14:59 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 18 Oct 2016 10:49:08 +0000 (11:49 +0100)
commit9836d2259feb556439162013a439b1cc217140af
tree28b5dc8f347c6ad3cbd3ecc232ef9a12f2783e04
parent30be7bd5438ba5d5e8d80f413338d4cb85dbbf23
gsk: Turn texture cache into a hash table

We want to add the list of FBOs tied to a texture; this means we cannot
trivally copy the Texture structure when adding it to a GArray. We're
also going to have more textures than VAOs, so it makes more sense to
use a O(1) access data structure for them.
gsk/gskgldriver.c